#coding:utf-8
__author__ = 'aesop'

from flask import Flask
from flask import session, redirect,url_for,request


def bcs_login(app):
    @app.route('/backstage/login/',methods=['GET','POST'])
    def backstage_login():
        if(request.method == "GET"):
            return "adsd"
        else:
            session['stu_id'] = 123456



if(__name__ == '__main__'):
    app = Flask(__name__)
    bcs_login(app)
    app.run(debug= True)